package com.gugee.common.web.system.product.model;

import com.xiguaji.boot.data.rdb.aggregate.Aggregate;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Table;

import java.math.BigDecimal;

@Data
@Table("product")
public class Product extends Aggregate {
    private String name;
    private BigDecimal price;
    private Integer number;
    private String type;
    private Integer level;
    private Boolean enable;
    private Double  discount;
    private Double halfYearDiscount;
    private Double yearDiscount;
    private String icon;
    private String description;
}
